package cn.xxliang.aiproject.api;

import org.springframework.ai.chat.ChatResponse;
import reactor.core.publisher.Flux;

/**
 * @author xxliang
 * @date 2025/7/4  19:54
 * @description
 */

public interface IAiService {

    ChatResponse generate(String model,String message);
    Flux<ChatResponse> generateStream(String model, String message);
    Flux<ChatResponse> generateStream(String model, String ragTag ,String message);
}
